package team.zero.lemon.module.workflow.dao;

import org.apache.ibatis.annotations.Param;
import team.zero.lemon.common.persistence.ICrudDao;
import team.zero.lemon.common.persistence.annotation.MyBatisDao;
import team.zero.lemon.module.workflow.entity.Form;

import java.util.List;

@MyBatisDao
public interface IFormDao extends ICrudDao<Form> {
    List<Form> findFormbyTemplate(@Param("templateId") int templateId);

    List<Form> findFormbyParent(@Param("parentId") int parentId);
}